  <!-- sidebar -->
  <div class="sidebar">
    <!-- groom -->
    <div class="groom">
      <h3 class="bom">品味心怡</h3>
      <ul>
        <li><a href="/"><img src="<?php bloginfo('template_url'); ?>/images/a1.jpg"/></a></li>
        <li><a href="/"><img src="<?php bloginfo('template_url'); ?>/images/a2.jpg"/></a></li>
        <li><a href="/"><img src="<?php bloginfo('template_url'); ?>/images/a3.jpg"/></a></li>
        <li><a href="/"><img src="<?php bloginfo('template_url'); ?>/images/a4.jpg"/></a></li>
        <li><a href="/"><img src="<?php bloginfo('template_url'); ?>/images/a5.jpg"/></a></li>
      </ul>
    </div>
    <div class="tab bt">
      <h3 class="bom">热门文章</h3>
      <ul>
		<?php
        $post_num = 10; // 设置调用条数
        $args = array(
           'post_password' => '',
           'post_status' => 'publish', // 只选公开的文章.
           'post__not_in' => array($post->ID),//排除当前文章
		   'category__not_in' => array(14,13,16), //排除指定分类文章
           'caller_get_posts' => 1, // 排除置顶文章.
           'orderby' => 'comment_count', // 依评论数排序.
           'posts_per_page' => $post_num
        );
         $query_posts = new WP_Query();
         $query_posts->query($args);
         while( $query_posts->have_posts() ) { $query_posts->the_post(); ?>
        <li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
        <?php }; wp_reset_query();?>
      </ul>   
    </div>
    <div class="tags bt">
      <h3 class="bom">标签云</h3>
      <strong><?php wp_tag_cloud('smallest=14&largest=14&unit=px&number=0&exclude=15'); ?></strong>
    </div>
  </div>
</div>
